package demo5;

import java.util.ArrayList;
import java.util.List;

public class Test01 {
    public static void main(String[] args) {

        Emp emp1=new Emp();
        emp1.setNum("001");
        emp1.setName("llh");
        emp1.setAge(30);
        System.out.println(emp1.getNum());
        System.out.println(emp1.getName());
        System.out.println(emp1.getAge());
    }
}
